/*
 * @Author: zhumeng@sensorsdata.cn
 * @Date: 2024-04-03 19:29:23
 * @LastEditTime: 2024-04-03 19:36:38
 * @Description:
 */

export default function Icon(props) {
  const { type = '' } = props
  return (
    <img
      src={`/img/${type}.png`}
      width={16}
      height={16}
      alt="icon"
      className="icon"
      {...props}
    />
  )
}
